Integrand size = 22, antiderivative size = 129 \[ \int \frac {\cos (a+b x) \sin ^3(a+b x)}{c+d x} \, dx=-\frac {\operatorname {CosIntegral}\left (\frac {4 b c}{d}+4 b x\right ) \sin \left (4 a-\frac {4 b c}{d}\right )}{8 d}+\frac {\operatorname {CosIntegral}\left (\frac {2 b c}{d}+2 b x\right ) \sin \left (2 a-\frac {2 b c}{d}\right )}{4 d}+\frac {\cos \left (2 a-\frac {2 b c}{d}\right ) \text {Si}\left (\frac {2 b c}{d}+2 b x\right )}{4 d}-\frac {\cos \left (4 a-\frac {4 b c}{d}\right ) \text {Si}\left (\frac {4 b c}{d}+4 b x\right )}{8 d} \]
1/4*cos(2*a-2*b*c/d)*Si(2*b*c/d+2*b*x)/d-1/8*cos(4*a-4*b*c/d)*Si(4*b*c/d+4 *b*x)/d-1/8*Ci(4*b*c/d+4*b*x)*sin(4*a-4*b*c/d)/d+1/4*Ci(2*b*c/d+2*b*x)*sin (2*a-2*b*c/d)/d
Time = 0.35 (sec) , antiderivative size = 110, normalized size of antiderivative = 0.85 \[ \int \frac {\cos (a+b x) \sin ^3(a+b x)}{c+d x} \, dx=-\frac {\operatorname {CosIntegral}\left (\frac {4 b (c+d x)}{d}\right ) \sin \left (4 a-\frac {4 b c}{d}\right )-2 \operatorname {CosIntegral}\left (\frac {2 b (c+d x)}{d}\right ) \sin \left (2 a-\frac {2 b c}{d}\right )-2 \cos \left (2 a-\frac {2 b c}{d}\right ) \text {Si}\left (\frac {2 b (c+d x)}{d}\right )+\cos \left (4 a-\frac {4 b c}{d}\right ) \text {Si}\left (\frac {4 b (c+d x)}{d}\right )}{8 d} \]
-1/8*(CosIntegral[(4*b*(c + d*x))/d]*Sin[4*a - (4*b*c)/d] - 2*CosIntegral[ (2*b*(c + d*x))/d]*Sin[2*a - (2*b*c)/d] - 2*Cos[2*a - (2*b*c)/d]*SinIntegr al[(2*b*(c + d*x))/d] + Cos[4*a - (4*b*c)/d]*SinIntegral[(4*b*(c + d*x))/d ])/d
Time = 0.43 (sec) , antiderivative size = 129, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4906, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\sin ^3(a+b x) \cos (a+b x)}{c+d x} \, dx\) |
\(\Big \downarrow \) 4906 |
\(\displaystyle \int \left (\frac {\sin (2 a+2 b x)}{4 (c+d x)}-\frac {\sin (4 a+4 b x)}{8 (c+d x)}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {\sin \left (4 a-\frac {4 b c}{d}\right ) \operatorname {CosIntegral}\left (\frac {4 b c}{d}+4 b x\right )}{8 d}+\frac {\sin \left (2 a-\frac {2 b c}{d}\right ) \operatorname {CosIntegral}\left (\frac {2 b c}{d}+2 b x\right )}{4 d}+\frac {\cos \left (2 a-\frac {2 b c}{d}\right ) \text {Si}\left (\frac {2 b c}{d}+2 b x\right )}{4 d}-\frac {\cos \left (4 a-\frac {4 b c}{d}\right ) \text {Si}\left (\frac {4 b c}{d}+4 b x\right )}{8 d}\) |
-1/8*(CosIntegral[(4*b*c)/d + 4*b*x]*Sin[4*a - (4*b*c)/d])/d + (CosIntegra l[(2*b*c)/d + 2*b*x]*Sin[2*a - (2*b*c)/d])/(4*d) + (Cos[2*a - (2*b*c)/d]*S inIntegral[(2*b*c)/d + 2*b*x])/(4*d) - (Cos[4*a - (4*b*c)/d]*SinIntegral[( 4*b*c)/d + 4*b*x])/(8*d)
3.1.27.3.1 Defintions of rubi rules used
Int[Cos[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sin[(a_.) + (b _.)*(x_)]^(n_.), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin[a + b*x ]^n*Cos[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && IG tQ[p, 0]
Time = 1.00 (sec) , antiderivative size = 178, normalized size of antiderivative = 1.38
method | result | size |
derivativedivides | \(\frac {\frac {b \left (-\frac {2 \,\operatorname {Si}\left (-2 x b -2 a -\frac {2 \left (-a d +c b \right )}{d}\right ) \cos \left (\frac {-2 a d +2 c b}{d}\right )}{d}-\frac {2 \,\operatorname {Ci}\left (2 x b +2 a +\frac {-2 a d +2 c b}{d}\right ) \sin \left (\frac {-2 a d +2 c b}{d}\right )}{d}\right )}{8}-\frac {b \left (-\frac {4 \,\operatorname {Si}\left (-4 x b -4 a -\frac {4 \left (-a d +c b \right )}{d}\right ) \cos \left (\frac {-4 a d +4 c b}{d}\right )}{d}-\frac {4 \,\operatorname {Ci}\left (4 x b +4 a +\frac {-4 a d +4 c b}{d}\right ) \sin \left (\frac {-4 a d +4 c b}{d}\right )}{d}\right )}{32}}{b}\) | \(178\) |
default | \(\frac {\frac {b \left (-\frac {2 \,\operatorname {Si}\left (-2 x b -2 a -\frac {2 \left (-a d +c b \right )}{d}\right ) \cos \left (\frac {-2 a d +2 c b}{d}\right )}{d}-\frac {2 \,\operatorname {Ci}\left (2 x b +2 a +\frac {-2 a d +2 c b}{d}\right ) \sin \left (\frac {-2 a d +2 c b}{d}\right )}{d}\right )}{8}-\frac {b \left (-\frac {4 \,\operatorname {Si}\left (-4 x b -4 a -\frac {4 \left (-a d +c b \right )}{d}\right ) \cos \left (\frac {-4 a d +4 c b}{d}\right )}{d}-\frac {4 \,\operatorname {Ci}\left (4 x b +4 a +\frac {-4 a d +4 c b}{d}\right ) \sin \left (\frac {-4 a d +4 c b}{d}\right )}{d}\right )}{32}}{b}\) | \(178\) |
risch | \(-\frac {i {\mathrm e}^{-\frac {2 i \left (a d -c b \right )}{d}} \operatorname {Ei}_{1}\left (2 i b x +2 i a -\frac {2 i \left (a d -c b \right )}{d}\right )}{8 d}+\frac {i {\mathrm e}^{-\frac {4 i \left (a d -c b \right )}{d}} \operatorname {Ei}_{1}\left (4 i b x +4 i a -\frac {4 i \left (a d -c b \right )}{d}\right )}{16 d}+\frac {i {\mathrm e}^{\frac {2 i \left (a d -c b \right )}{d}} \operatorname {Ei}_{1}\left (-2 i b x -2 i a -\frac {2 \left (-i a d +i c b \right )}{d}\right )}{8 d}-\frac {i {\mathrm e}^{\frac {4 i \left (a d -c b \right )}{d}} \operatorname {Ei}_{1}\left (-4 i b x -4 i a -\frac {4 \left (-i a d +i c b \right )}{d}\right )}{16 d}\) | \(194\) |
1/b*(1/8*b*(-2*Si(-2*x*b-2*a-2*(-a*d+b*c)/d)*cos(2*(-a*d+b*c)/d)/d-2*Ci(2* x*b+2*a+2*(-a*d+b*c)/d)*sin(2*(-a*d+b*c)/d)/d)-1/32*b*(-4*Si(-4*x*b-4*a-4* (-a*d+b*c)/d)*cos(4*(-a*d+b*c)/d)/d-4*Ci(4*x*b+4*a+4*(-a*d+b*c)/d)*sin(4*( -a*d+b*c)/d)/d))
Time = 0.25 (sec) , antiderivative size = 126, normalized size of antiderivative = 0.98 \[ \int \frac {\cos (a+b x) \sin ^3(a+b x)}{c+d x} \, dx=\frac {2 \, \operatorname {Ci}\left (\frac {2 \, {\left (b d x + b c\right )}}{d}\right ) \sin \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - \operatorname {Ci}\left (\frac {4 \, {\left (b d x + b c\right )}}{d}\right ) \sin \left (-\frac {4 \, {\left (b c - a d\right )}}{d}\right ) - \cos \left (-\frac {4 \, {\left (b c - a d\right )}}{d}\right ) \operatorname {Si}\left (\frac {4 \, {\left (b d x + b c\right )}}{d}\right ) + 2 \, \cos \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) \operatorname {Si}\left (\frac {2 \, {\left (b d x + b c\right )}}{d}\right )}{8 \, d} \]
1/8*(2*cos_integral(2*(b*d*x + b*c)/d)*sin(-2*(b*c - a*d)/d) - cos_integra l(4*(b*d*x + b*c)/d)*sin(-4*(b*c - a*d)/d) - cos(-4*(b*c - a*d)/d)*sin_int egral(4*(b*d*x + b*c)/d) + 2*cos(-2*(b*c - a*d)/d)*sin_integral(2*(b*d*x + b*c)/d))/d
\[ \int \frac {\cos (a+b x) \sin ^3(a+b x)}{c+d x} \, dx=\int \frac {\sin ^{3}{\left (a + b x \right )} \cos {\left (a + b x \right )}}{c + d x}\, dx \]
Result contains complex when optimal does not.
Time = 0.30 (sec) , antiderivative size = 281, normalized size of antiderivative = 2.18 \[ \int \frac {\cos (a+b x) \sin ^3(a+b x)}{c+d x} \, dx=-\frac {2 \, b {\left (-i \, E_{1}\left (\frac {2 \, {\left (-i \, b c - i \, {\left (b x + a\right )} d + i \, a d\right )}}{d}\right ) + i \, E_{1}\left (-\frac {2 \, {\left (-i \, b c - i \, {\left (b x + a\right )} d + i \, a d\right )}}{d}\right )\right )} \cos \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - b {\left (-i \, E_{1}\left (\frac {4 \, {\left (-i \, b c - i \, {\left (b x + a\right )} d + i \, a d\right )}}{d}\right ) + i \, E_{1}\left (-\frac {4 \, {\left (-i \, b c - i \, {\left (b x + a\right )} d + i \, a d\right )}}{d}\right )\right )} \cos \left (-\frac {4 \, {\left (b c - a d\right )}}{d}\right ) + 2 \, b {\left (E_{1}\left (\frac {2 \, {\left (-i \, b c - i \, {\left (b x + a\right )} d + i \, a d\right )}}{d}\right ) + E_{1}\left (-\frac {2 \, {\left (-i \, b c - i \, {\left (b x + a\right )} d + i \, a d\right )}}{d}\right )\right )} \sin \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - b {\left (E_{1}\left (\frac {4 \, {\left (-i \, b c - i \, {\left (b x + a\right )} d + i \, a d\right )}}{d}\right ) + E_{1}\left (-\frac {4 \, {\left (-i \, b c - i \, {\left (b x + a\right )} d + i \, a d\right )}}{d}\right )\right )} \sin \left (-\frac {4 \, {\left (b c - a d\right )}}{d}\right )}{16 \, b d} \]
-1/16*(2*b*(-I*exp_integral_e(1, 2*(-I*b*c - I*(b*x + a)*d + I*a*d)/d) + I *exp_integral_e(1, -2*(-I*b*c - I*(b*x + a)*d + I*a*d)/d))*cos(-2*(b*c - a *d)/d) - b*(-I*exp_integral_e(1, 4*(-I*b*c - I*(b*x + a)*d + I*a*d)/d) + I *exp_integral_e(1, -4*(-I*b*c - I*(b*x + a)*d + I*a*d)/d))*cos(-4*(b*c - a *d)/d) + 2*b*(exp_integral_e(1, 2*(-I*b*c - I*(b*x + a)*d + I*a*d)/d) + ex p_integral_e(1, -2*(-I*b*c - I*(b*x + a)*d + I*a*d)/d))*sin(-2*(b*c - a*d) /d) - b*(exp_integral_e(1, 4*(-I*b*c - I*(b*x + a)*d + I*a*d)/d) + exp_int egral_e(1, -4*(-I*b*c - I*(b*x + a)*d + I*a*d)/d))*sin(-4*(b*c - a*d)/d))/ (b*d)
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.51 (sec) , antiderivative size = 6046, normalized size of antiderivative = 46.87 \[ \int \frac {\cos (a+b x) \sin ^3(a+b x)}{c+d x} \, dx=\text {Too large to display} \]
-1/16*(imag_part(cos_integral(4*b*x + 4*b*c/d))*tan(2*a)^2*tan(a)^2*tan(2* b*c/d)^2*tan(b*c/d)^2 - 2*imag_part(cos_integral(2*b*x + 2*b*c/d))*tan(2*a )^2*tan(a)^2*tan(2*b*c/d)^2*tan(b*c/d)^2 + 2*imag_part(cos_integral(-2*b*x - 2*b*c/d))*tan(2*a)^2*tan(a)^2*tan(2*b*c/d)^2*tan(b*c/d)^2 - imag_part(c os_integral(-4*b*x - 4*b*c/d))*tan(2*a)^2*tan(a)^2*tan(2*b*c/d)^2*tan(b*c/ d)^2 + 2*sin_integral(4*(b*d*x + b*c)/d)*tan(2*a)^2*tan(a)^2*tan(2*b*c/d)^ 2*tan(b*c/d)^2 - 4*sin_integral(2*(b*d*x + b*c)/d)*tan(2*a)^2*tan(a)^2*tan (2*b*c/d)^2*tan(b*c/d)^2 - 4*real_part(cos_integral(2*b*x + 2*b*c/d))*tan( 2*a)^2*tan(a)^2*tan(2*b*c/d)^2*tan(b*c/d) - 4*real_part(cos_integral(-2*b* x - 2*b*c/d))*tan(2*a)^2*tan(a)^2*tan(2*b*c/d)^2*tan(b*c/d) + 2*real_part( cos_integral(4*b*x + 4*b*c/d))*tan(2*a)^2*tan(a)^2*tan(2*b*c/d)*tan(b*c/d) ^2 + 2*real_part(cos_integral(-4*b*x - 4*b*c/d))*tan(2*a)^2*tan(a)^2*tan(2 *b*c/d)*tan(b*c/d)^2 + 4*real_part(cos_integral(2*b*x + 2*b*c/d))*tan(2*a) ^2*tan(a)*tan(2*b*c/d)^2*tan(b*c/d)^2 + 4*real_part(cos_integral(-2*b*x - 2*b*c/d))*tan(2*a)^2*tan(a)*tan(2*b*c/d)^2*tan(b*c/d)^2 - 2*real_part(cos_ integral(4*b*x + 4*b*c/d))*tan(2*a)*tan(a)^2*tan(2*b*c/d)^2*tan(b*c/d)^2 - 2*real_part(cos_integral(-4*b*x - 4*b*c/d))*tan(2*a)*tan(a)^2*tan(2*b*c/d )^2*tan(b*c/d)^2 + imag_part(cos_integral(4*b*x + 4*b*c/d))*tan(2*a)^2*tan (a)^2*tan(2*b*c/d)^2 + 2*imag_part(cos_integral(2*b*x + 2*b*c/d))*tan(2*a) ^2*tan(a)^2*tan(2*b*c/d)^2 - 2*imag_part(cos_integral(-2*b*x - 2*b*c/d)...
Timed out. \[ \int \frac {\cos (a+b x) \sin ^3(a+b x)}{c+d x} \, dx=\int \frac {\cos \left (a+b\,x\right )\,{\sin \left (a+b\,x\right )}^3}{c+d\,x} \,d x \]